package StateInformation;

import Entities.Phase;
import java.util.ArrayList;

public class GameState {

    private Score score;
    private Life life;
    private Time time;
    private Phase scene;
    private ArrayList<String> world;
    private String finalLevel;
    private Boolean gamePaused;

    public GameState() {
        score = new Score();
        life = new Life();
        time = new Time();
        finalLevel = "";
        gamePaused = false;
    }

    public Boolean getGamePaused() {
        return gamePaused;
    }

    public void setGamePaused(Boolean gamePaused) {
        this.gamePaused = gamePaused;
    }

    public int getNumberOfLifes() {
        return life.getNumberOfLifes();
    }

    public void setNumberOfLifes(int i) {
        life.setNumberOfLifes(i);
    }

    public Integer getScore() {
        return score.getScore();
    }

    public void setScore(int i) {
        score.setScore(i);
    }

    public void increaseTime() {
        time.increaseTime();
    }

    public Time getPlayedTime() {
        return time;
    }

    public void setScene(Phase scene) {
        this.scene = scene;
    }

    public ArrayList<String> getWorld() {
        return world;
    }

    public void setWorld(ArrayList<String> world) {
        this.world = world;
    }

    public Phase getScene() {
        return scene;
    }

    public String getFinalLevel() {
        return finalLevel;
    }

    public void setFinalLevel(String finalLevel) {
        this.finalLevel = finalLevel;
    }
}
